Basic Library for WPF and Silverlight | ComponentOne
C1.WPF Namespace / C1DelegateCommand Class / C1DelegateCommand Constructor / C1DelegateCommand Constructor(Action<Object>,Predicate<Object>)
The execute delegate.
The can execute delegate.

In This Topic
    C1DelegateCommand Constructor(Action<Object>,Predicate<Object>)
    In This Topic
    Initializes a new instance of the C1DelegateCommand class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal execute As Action(Of Object), _
       ByVal canExecute As Predicate(Of Object) _
    )
    public C1DelegateCommand( 
       Action<object> execute,
       Predicate<object> canExecute
    )

    Parameters

    execute
    The execute delegate.
    canExecute
    The can execute delegate.
    See Also